
var raw = require ("../");

var buffer1 = Buffer.from([
		0x08, 0x00, 0x00, 0x00, 0x00, 0x01, 0x0a, 0x09,
		0x61, 0x62, 0x63, 0x64, 0x65, 0x66, 0x67, 0x68,
		0x69, 0x6a, 0x6b, 0x6c, 0x6d, 0x6e, 0x6f, 0x70]);

var buffer2 = Buffer.from([
		0x71, 0x72, 0x73, 0x74, 0x75, 0x76, 0x77, 0x61,
		0x62, 0x63, 0x64, 0x65, 0x66, 0x67, 0x68, 0x69]);

var option1 = {
	buffer: buffer1,
	offset: 0,
	length: buffer1.length
};

var sum = raw.createChecksum (option1, buffer2);

console.log (sum.toString (16));
